Component({
  mixins: [],
  data: {
    list:[
      {
        id:1,
        url:'https://morefun-active.oss-cn-beijing.aliyuncs.com/vans-family/tabbar1.png',
        url2:'https://morefun-active.oss-cn-beijing.aliyuncs.com/vans-family/tabbar1-1.png',
        page:'/pages/integral-page/integral-page'
      },
      {
        id:2,
        url:'https://morefun-active.oss-cn-beijing.aliyuncs.com/vans-family/tabbar2.png',
        url2:'https://morefun-active.oss-cn-beijing.aliyuncs.com/vans-family/tabbar2-2.png',
        page:'/pages/getIntegral-page/getIntegral-page'
      },
      {
        id:3,
        url:'https://morefun-active.oss-cn-beijing.aliyuncs.com/vans-family/tabbar3.png',
        url2:'https://morefun-active.oss-cn-beijing.aliyuncs.com/vans-family/tabbar3-2.png',
        page:'/pages/equity-page/equity-page'
      },
      {
        id:4,
        url:'https://morefun-active.oss-cn-beijing.aliyuncs.com/vans-family/tabbar4.png',
        url2:'https://morefun-active.oss-cn-beijing.aliyuncs.com/vans-family/tabbar4-2.png',
        page:'/pages/member-privilege-page/member-privilege-page'
      }
    ],
  },
  props: {},
  didMount() {},
  didUpdate() {},
  didUnmount() {},
  methods: {
    tabChange(event){
      let {id,page} = event.currentTarget.dataset;
      // this.setData({
      //   id
      // })
      my.reLaunch({
        url: page
      });
    }
  },
});
